-- Basic Cannon

local BULLET = {}

-- General Information
BULLET.Name = "Sniper cannon"
BULLET.Author = "Tech"
BULLET.Description = "Armour piercing sabot round that goes faster. credit to Divran."
BULLET.AdminOnly = false
BULLET.SuperAdminOnly = false

-- Appearance
BULLET.Model = "models/combatmodels/tankshell_25mm.mdl"
BULLET.Material = "models/shiny"
BULLET.Color = nil
BULLET.Trail = { StartSize = 10,
				 EndSize = 1,
				 Length = 0.1,
				 Texture = "trails/tube.vmt",
				 Color = Color( 255, 255, 255, 135 ) }

-- Effects / Sounds
BULLET.FireSound = {"BarretM82_Fire.Single"}
BULLET.ExplosionSound = nil
BULLET.FireEffect = "tankflash"
BULLET.ExplosionEffect = "atapsplode"
BULLET.EmptyMagSound = {"weapons/shotgun/shotgun_empty.wav"}

-- Movement
BULLET.Speed = 480
BULLET.Gravity = nil
BULLET.RecoilForce = 5000
BULLET.Spread = 0.01

-- Damage
BULLET.DamageType = "BlastDamage"
BULLET.Damage = 2000
BULLET.Radius = 50
BULLET.RangeDamageMul = 0.9
BULLET.NumberOfSlices = nil
BULLET.SliceDistance = nil
BULLET.PlayerDamage = 5000
BULLET.PlayerDamageRadius = 250

-- Reloading/Ammo
BULLET.Reloadtime = 3.5
BULLET.Ammo = 0
BULLET.AmmoReloadtime = 0

BULLET.EnergyPerShot = 5000

pewpew:AddBullet( BULLET )